﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Suk.Models
{

    public class Order:BaseModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
    

        public string username { get; set; }
        public string city { get; set; }
        public string sign { get; set; }
        public string experience { get; set; }
        public string logins { get; set; }
        public string wealth { get; set; }
        public string classify { get; set; }
        public string score { get; set; }
        public string sex { get; set; }

        [SugarColumn(IsNullable =true)]
        public int CustomId { get; set; }
        [SugarColumn(IsIgnore = true)]
        public List<OrderItem> Items { get; set; }
    }
}
